<%@page import="java.text.SimpleDateFormat,
                java.util.Date,
                java.util.Calendar,
                java.util.TimeZone"%>

<%
  SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd");

  Calendar cal = Calendar.getInstance();
  cal.setTimeZone(TimeZone.getTimeZone("America/Los_Angeles"));
            
  int offset = (cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET)) / (60 * 1000);
            
  cal.setTime(new Date());
  cal.add(Calendar.MINUTE, offset);

  String pubDate = formatter.format(cal.getTime());
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>MassDeception.org</title>
</head>
<body>
<script type="text/javascript">
document.location = "<%=request.getContextPath()%>/<%=pubDate%>.slide";
</script>
<noscript>
<h1>MassDeception.org</h1>
<p>Javascript must be enabled to view MassDeception.org. 
Please check your browser settings or use a Javascript-capable browser.</p>
</noscript>
</body>
</html>